﻿using System;
using Murry.DataStore.MemoryDB;

namespace Murry.DataStore.UnitTests.Model.MemoryDB
{
    /// <summary>
    /// Test Object.
    /// </summary>
    [Serializable]
    public class TestObject : MemoryPersist, ITestObject
    {
        /// <summary>
        /// Standard constructor for MemoryPersist class.
        /// </summary>
        /// <param name="database">Database.</param>
        public TestObject(MemoryDatabase database)
            : base(database)
        {
        }

        /// <summary>
        /// String property.
        /// </summary>
        public string A { get; set; }

        /// <summary>
        /// Int property.
        /// </summary>
        public int B { get; set; }
    }
}
